import http from "./http";

export const getSeoInfo = () => {
    return http.requestGet("/admin/web_size_info/seo");
}

export const getWebSizeCount = () => {
    return http.requestGet("/admin/web_size_info/view_count");
}

export const getWebSizeTitle = () => {
    return http.requestGet("/admin/web_size_info/title");
}

export const updateSeoInfo = (_keywords, _description) => {
    return http.requestPut("/admin/web_size_info/seo?keywords=" + _keywords + "&description=" + _description);
}

export const updateWebSizeTitle = (_title) => {
    return http.requestPut("/admin/web_size_info/title?title=" + _title);
}